package com.guogee.util;

import com.guogee.util.Log.Level;

public class BuildHelper {

	public enum Build {
		Dev, Test, Product,
	};


	public static boolean isProduct() {
		switch (mBuild) {
		case Product:
			return true;
		default:
			return false;
		}
	}
	
	//private static Build mBuild = Build.Product;
	private static Build mBuild = Build.Test;



	public static Level getLogLevel() {
		switch (mBuild) {
		case Dev:
		case Test:
			return Level.verbose;
		default:
			return Level.error;
		}
	}
	
	public static String getAppId(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.APP_ID_DEV;
		default:
			return Constants.APP_ID_DEV;
		}
	}
	
	public static String getToken(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.CZY_TOKEN_DEV;
		default:
			return Constants.CZY_TOKEN_DEV;
		}
	}
	
	public static String getAppKey(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.CZY_APPKEY_DEV;
		default:
			return Constants.CZY_APPKEY_DEV;
		}
	}
	
	public static String getAppSecret(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.CZY_APPSECRET_DEV;
		default:
			return Constants.CZY_APPSECRET_DEV;
		}
	}
	
	public static String getAppUuid(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.CZY_APP_UUID_DEV;
		default:
			return Constants.CZY_APP_UUID_DEV;
		}
	}
	
	public static String getAppSecretAuth2(){
		switch (mBuild) {
		case Dev:
		case Test:
			return Constants.CZY_APPSECRET_AUTH2_DEV;
		default:
			return Constants.CZY_APPSECRET_AUTH2_DEV;
		}
	}
}
